﻿using System;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class _Default : System.Web.UI.Page 
{
    protected void Page_Load(object sender, EventArgs e)
    {
        EmployeeInfo employee = new EmployeeInfo();
        Response.Write(employee.employeeCompany); //输出employee类对象中的employeeCompany属性值
        Response.Write("<br>");
        employee.employeeAge = 23; //对employee类对象中的employeeAge属性重新赋值
        Response.Write(employee.employeeInfo); //输出employee类对象中的只读属性employeeInfo的值
    }
}
